package com.ethan.blog.common.constant;

/**
 * 信息常量提示类
 */

public class MessageConstant {
    public static final String SUCCESS = "操做成功";
    public static final String ERROR = "操作失败";
    // TODO：设计枚举类
    public static final String LOGIN_ACCOUNT = "账号登录";
    public static final String LOGIN_WECHAT = "微信登录";
    public static final String LOGIN_ACCOUNT_PHONE = "手机账号登录";
    public static final String LOGIN_SMS_PHONE = "手机短信登录";
    public static final String LOGIN_EMAIL = "邮箱登录";

    public static final String ACCOUNT_INVALID = "账号不合法";
    public static final String ACCOUNT_NOT_FOUND = "账号不存在";
    public static final String PASSWORD_INVALID = "密码不合法";
    public static final String PASSWORD_ERROR = "密码错误";
    public static final String LOGIN_SUCCESS = "登录成功";
    public static final String ACCOUNT_LOCKED = "账号被锁定";
    public static final String IDENTITY_EXPIRED = "token失效/身份过期";
    public static final String OLD_PASSWORD_ERROR = "旧密码错误";
    public static final String PASSWORD_EQUAL_OLD = "密码与旧密码相同";
    public static final String USER_NOT_LOGIN = "用户未登录";
    public static final String LOGIN_FAILED = "登录失败";
    public static final String UPLOAD_FAILED = "文件上传失败";
    public static final String PASSWORD_EDIT_FAILED = "密码修改失败";
    public static final String ALREADY_EXISTS = "用户名已存在";


    public static final String SETMEAL_ENABLE_FAILED = "套餐内包含未启售菜品，无法启售";
    public static final String CATEGORY_BE_RELATED_BY_SETMEAL = "当前分类关联了套餐,不能删除";
    public static final String CATEGORY_BE_RELATED_BY_DISH = "当前分类关联了菜品,不能删除";
    public static final String SHOPPING_CART_IS_NULL = "购物车数据为空，不能下单";
    public static final String ADDRESS_BOOK_IS_NULL = "用户地址为空，不能下单";
    public static final String DISH_ON_SALE = "起售中的菜品不能删除";
    public static final String SETMEAL_ON_SALE = "起售中的套餐不能删除";
    public static final String DISH_BE_RELATED_BY_SETMEAL = "当前菜品关联了套餐,不能删除";
    public static final String ORDER_STATUS_ERROR = "订单状态错误";
    public static final String ORDER_NOT_FOUND = "订单不存在";
}
